package cn.conchit.apccontroldemo.graph.cmpt;

import cn.conchit.apccontroldemo.graph.canvas.CmptNode;
import cn.conchit.apccontroldemo.graph.canvas.CmptVertex;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hetao
 * @version 1.0
 * @description: TODO
 * @date 2023/2/16 9:51
 */


public class PythonCmpt<V extends CmptVertex> extends CmptNode {

    public PythonCmpt(CmptVertex cmptVertex) {
        super(cmptVertex);
        this.setVertex(cmptVertex);
    }

    @Override
    public Object callJob() {
        System.out.println("-----------------------------:调用python组件");
        System.out.println(this.getVertex());
        return null;
    }

}
